﻿Public Class WebForm2
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim firstno, secondno, result As Single
        firstno = CSng(Amounttobet.Text)
        secondno = CSng(Odds.Text)
        result = firstno * secondno
        Total.Text = result
    End Sub

    Protected Sub Amounttobet_TextChanged(sender As Object, e As EventArgs) Handles Amounttobet.TextChanged

    End Sub
End Class